#pragma once

#include "simmodel.h"
#include <QtGui/QMainWindow>
#include <QtGui/QWidget>
#include <QDialog>
#include "ui_varSelection.h"
#include <vector>

using namespace std;

class varSelection : public QDialog
{
	Q_OBJECT
private:
	Ui::varSelectionDialog ui;
	pair<vector<vector<string>>, vector<vector<double>>> VectorUnitAndCoeff;
	vector<string> getSetOfUnits(string u);
public:
	varSelection(QWidget* pwgt = 0);	
	~varSelection();
	void setData(string _typePlot, vector<vector<string>> data, pair<vector<vector<string>>, vector<vector<double>>> unitAndCoeff);
	pair<vector<string>, vector<string>> varSelection::getData();
	string varSelection::getTypePlot();
	string typePlot;
private slots:
	void on_bAccept_clicked();
	void on_bReject_clicked();
	void on_bCheckAll_clicked();
};

